body {
    background-color: aliceblue;
    user-select: none;
}

.container .main{
    width: 83%;
    margin-right: 1.3%;
    height: auto;
    background: #fff;
    float: right;
    margin-top: 3px;
    max-height: 90vh;
    overflow: auto;
    border-radius: 5px;
    padding: 10px 10px 80px 20px;
    position: relative;
}

.main {
    background: white;
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.search-box {
    padding: 8px;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button-group {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary {
    background-color: #1890ff;
    color: white;
}

.btn-danger {
    background-color: #ff4d4f;
    color: white;
}

.btn-success {
    background-color: #52c41a;
    color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #fafafa;
    font-weight: bold;
}

.checkbox {
    width: 16px;
    height: 16px;
}

.action-link {
    color: #1890ff;
    text-decoration: none;
    margin-right: 10px;
    cursor: pointer;
}

.action-link.delete {
    color: #ff4d4f;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pagination {
    display: flex;
    gap: 8px;
}

.page-btn {
    padding: 4px 8px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
}

.page-btn.active {
    background-color: #1890ff;
    color: white;
    border-color: #1890ff;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block;
}

.modal-content {
    position: relative;
    background-color: white;
    width: 500px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 8px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close {
    cursor: pointer;
    font-size: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.image-upload {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.required::after {
    content: '*';
    color: #ff4d4f;
    margin-left: 4px;
}